package com.yn.bsc.dao;

import com.yn.bsc.core.Mapper;
import com.yn.bsc.model.SiteStations;
import com.yn.bsc.vo.SiteStationsVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SiteStationsMapper extends Mapper<SiteStations> {

    List<SiteStations> selectAllWithArea();

    List<SiteStationsVo> findAllGroupByCity(@Param("type") int type);

    List<SiteStationsVo> findSiteByScoreGroupByCity(@Param("score") double score, @Param("type") int type,
                                                    @Param("start") String start, @Param("end") String end);
}